package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.mp.base.BaseEntity;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 用户-微信信息
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_user_weixin")
public class UserWeixin extends BaseEntity {
    /**
     * 用户id
     */
    @TableField(value = "user_id")
    private Long userId;

    /**
     * 微信openid
     */
    @TableField(value = "openid")
    private String openid;

    /**
     * 用户昵称
     */
    @TableField(value = "nickname")
    private String nickname;

    /**
     * 用户头像
     */
    @TableField(value = "headimgurl")
    private String headimgurl;

    /**
     * 小程序appID维保端
     */
    @TableField(value = "appid")
    private String appid;

    /**
     * 公众号关注状态 0-未关注 1-已关注
     */
    @TableField(value = "subscribe")
    private Integer subscribe;
}
